//
//  CustomView.m
//  UI01_UIVieww
//
//  Created by dllo on 16/6/3.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CustomView.h"

@implementation CustomView







-(instancetype)initWithFrame:(CGRect)frame withColor:(UIColor*)backgroudColor{
    self = [super initWithFrame:frame];
            if(self){
                self.backgroundColor = backgroudColor;
            }
            return self;
}









-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if(self){
        self.backgroundColor = [UIColor redColor];
        
        
        
        
    }
    return self;
}






@end
